<?php
/**
 * @author: Степанов Евгений
 * @email:  shnaider@land.ru
 * @www:    http://pro-nika.com
 */

class hasher{

    public static function hash($password,$key_num1,$key_num2){
        $result = hash_hmac('md5',$password,$key_num1);
        $result = hash_hmac('sha1',$result,$key_num2);
        return $result;
    }

}